package com.googlecode.skald.server.demo;

/**
 * Indicates the current action cannot proceed.  Any narration of the reason
 * will given as the exception's contained message.
 * 
 * @author Zach Tomaszewski
 */
public class ActionAbortedException extends Exception {

  private static final long serialVersionUID = 1L;

  /**
   * Narration is accessible also accessible as per as the error message
   * in most other exceptions. 
   */
  public ActionAbortedException(String narration) {
    super(narration);
  }
  
  public String getNarration() {
    return this.getMessage();
  }
}
